﻿



using System; 
using System.Collections;
using System.Collections.Generic ;
using System.Runtime.Serialization;

namespace ufida.u9.ait.openapi
{
	/// <summary>
	/// 领料单DTO Copy DTO :REST自定义的数据传输类型 
	/// 
	/// </summary>
	[DataContract(Namespace = "ufida.u9.ait.openapi")]
	[Serializable]
	public partial class CopyOfIssueDTOData  
	{
		/// <summary>
		/// Default Constructor
		/// </summary>
		public CopyOfIssueDTOData()
		{
			initData();
		}
		private void initData()
		{
		
		
		
		
		
		
		
		
		
					BusinessType= 0; 
				
		
					IsSpecialIssue=false; 
					IssueType= 0; 
				

			//调用默认值初始化服务进行配置方式初始化
			UFSoft.UBF.Service.DTOService.InitConfigDefault(this);
		}
		[System.Runtime.Serialization.OnDeserializing]
		internal void OnDeserializing(System.Runtime.Serialization.StreamingContext context)
		{
			 initData();
		}
		#region Do SerializeKey -ForDTODataType
		//只为处理集合型EntityKey。原因集合型EntityKey由于使用臫的集合对象，无法实现数据共享.-UBF专用.
		public void DoSerializeKeyList(IDictionary dict)
		{
			if (dict == null ) dict = new Hashtable() ;
			if (dict[this] != null)
				return ;
			dict[this] = this;
	        			if (this.IssueOrg != null) 
			{
				this.IssueOrg.DoSerializeKeyList(dict);
			}
	        			if (this.DocType != null) 
			{
				this.DocType.DoSerializeKeyList(dict);
			}
	        	        			if (this.Dept != null) 
			{
				this.Dept.DoSerializeKeyList(dict);
			}
	        			if (this.Employee != null) 
			{
				this.Employee.DoSerializeKeyList(dict);
			}
	        	        	        			if (this.MOs!=null)
			{
				foreach(ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData objdata in this.MOs)
				{
					objdata.DoSerializeKeyList(dict);
				}
			}
				        			if (this.PickListDTOs!=null)
			{
				foreach(ufida.u9.ait.openapi.CopyOfPickListDTOData objdata in this.PickListDTOs)
				{
					objdata.DoSerializeKeyList(dict);
				}
			}
				        	        			if (this.DescFlexField != null) 
			{
				this.DescFlexField.DoSerializeKeyList(dict);
			}
	        	        	        	        
		}
		#endregion 
		/// <summary>
		/// Constructor Full Argument
		/// </summary>
		public CopyOfIssueDTOData(  ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData issueOrg  , ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData docType  , System.String docNo  , ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData dept  , ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData employee  , System.String businessDate  , System.String memo  , List<ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData> mOs  , List<ufida.u9.ait.openapi.CopyOfPickListDTOData> pickListDTOs  , System.Int32 businessType  , ufida.u9.ait.openapi.CopyOfDescFlexSegmentsData descFlexField  , System.String businessCreatedOn  , System.Boolean isSpecialIssue  , System.Int32 issueType  , UFIDA.U9.MO.PropertyTypes.MOSourceDocData srcDoc  )
		{
			initData();
			this.IssueOrg = issueOrg;
			this.DocType = docType;
			this.DocNo = docNo;
			this.Dept = dept;
			this.Employee = employee;
			this.BusinessDate = businessDate;
			this.Memo = memo;
			this.MOs = mOs;
			this.PickListDTOs = pickListDTOs;
			this.BusinessType = businessType;
			this.DescFlexField = descFlexField;
			this.BusinessCreatedOn = businessCreatedOn;
			this.IsSpecialIssue = isSpecialIssue;
			this.IssueType = issueType;
			this.SrcDoc = srcDoc;
		}
		#region System Fields 
		//--系统字段,目前没有.EntityData上有相应的字段,用于保存相关的实体状态信息,DTO上没有状态信息.	
		#endregion
		
		#region DTO Properties 
	
		

		/// <summary>
		/// 发料组织
		/// 领料单DTO Copy.Misc.发料组织
		/// </summary>
		private ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData m_issueOrg ;
		[DataMember(IsRequired=false)]
		public ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData IssueOrg
		{
			get	
			{	
				return m_issueOrg ;
			}
			set	
			{	
				m_issueOrg = value ;	
			}
		}
			
		

		/// <summary>
		/// 单据类型
		/// 领料单DTO Copy.Misc.单据类型
		/// </summary>
		private ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData m_docType ;
		[DataMember(IsRequired=false)]
		public ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData DocType
		{
			get	
			{	
				return m_docType ;
			}
			set	
			{	
				m_docType = value ;	
			}
		}
			
		

		/// <summary>
		/// 单号
		/// 领料单DTO Copy.Misc.单号
		/// </summary>
		private System.String m_docNo ;
		[DataMember(IsRequired=false)]
		public System.String DocNo
		{
			get	
			{	
				return m_docNo ;
			}
			set	
			{	
				m_docNo = value ;	
			}
		}
			
		

		/// <summary>
		/// 经手部门
		/// 领料单DTO Copy.Misc.经手部门
		/// </summary>
		private ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData m_dept ;
		[DataMember(IsRequired=false)]
		public ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData Dept
		{
			get	
			{	
				return m_dept ;
			}
			set	
			{	
				m_dept = value ;	
			}
		}
			
		

		/// <summary>
		/// 经手人
		/// 领料单DTO Copy.Misc.经手人
		/// </summary>
		private ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData m_employee ;
		[DataMember(IsRequired=false)]
		public ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData Employee
		{
			get	
			{	
				return m_employee ;
			}
			set	
			{	
				m_employee = value ;	
			}
		}
			
		

		/// <summary>
		/// 业务日期
		/// 领料单DTO Copy.Misc.业务日期
		/// </summary>
		private System.String m_businessDate ;
		[DataMember(IsRequired=false)]
		public System.String BusinessDate
		{
			get	
			{	
				return m_businessDate ;
			}
			set	
			{	
				m_businessDate = value ;	
			}
		}
			
		

		/// <summary>
		/// 备注
		/// 领料单DTO Copy.Misc.备注
		/// </summary>
		private System.String m_memo ;
		[DataMember(IsRequired=false)]
		public System.String Memo
		{
			get	
			{	
				return m_memo ;
			}
			set	
			{	
				m_memo = value ;	
			}
		}
			
		

		/// <summary>
		/// 生产订单
		/// 领料单DTO Copy.Misc.生产订单
		/// </summary>
		private List<ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData> m_mOs ;
		[DataMember(IsRequired=false)]
		public List<ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData> MOs
		{
			get	
			{	
				if (m_mOs == null )
				{
					List<ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData> n_m_list = new List<ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData>() ;
					m_mOs = n_m_list ;
				}
				return m_mOs ;
			}
			set	
			{	
				m_mOs = value ;	
			}
		}
			
		

		/// <summary>
		/// 单行集合
		/// 领料单DTO Copy.Misc.单行集合
		/// </summary>
		private List<ufida.u9.ait.openapi.CopyOfPickListDTOData> m_pickListDTOs ;
		[DataMember(IsRequired=false)]
		public List<ufida.u9.ait.openapi.CopyOfPickListDTOData> PickListDTOs
		{
			get	
			{	
				if (m_pickListDTOs == null )
				{
					List<ufida.u9.ait.openapi.CopyOfPickListDTOData> n_m_list = new List<ufida.u9.ait.openapi.CopyOfPickListDTOData>() ;
					m_pickListDTOs = n_m_list ;
				}
				return m_pickListDTOs ;
			}
			set	
			{	
				m_pickListDTOs = value ;	
			}
		}
			
		

		/// <summary>
		/// 业务类型
		/// 领料单DTO Copy.Misc.业务类型
		/// </summary>
		private System.Int32 m_businessType ;
		[DataMember(IsRequired=false)]
		public System.Int32 BusinessType
		{
			get	
			{	
				return m_businessType ;
			}
			set	
			{	
				m_businessType = value ;	
			}
		}
			
		

		/// <summary>
		/// 描述性弹性域
		/// 领料单DTO Copy.Misc.描述性弹性域
		/// </summary>
		private ufida.u9.ait.openapi.CopyOfDescFlexSegmentsData m_descFlexField ;
		[DataMember(IsRequired=false)]
		public ufida.u9.ait.openapi.CopyOfDescFlexSegmentsData DescFlexField
		{
			get	
			{	
				return m_descFlexField ;
			}
			set	
			{	
				m_descFlexField = value ;	
			}
		}
			
		

		/// <summary>
		/// 确认日期
		/// 领料单DTO Copy.Misc.确认日期
		/// </summary>
		private System.String m_businessCreatedOn ;
		[DataMember(IsRequired=false)]
		public System.String BusinessCreatedOn
		{
			get	
			{	
				return m_businessCreatedOn ;
			}
			set	
			{	
				m_businessCreatedOn = value ;	
			}
		}
			
		

		/// <summary>
		/// 特别领料
		/// 领料单DTO Copy.Misc.特别领料
		/// </summary>
		private System.Boolean m_isSpecialIssue ;
		[DataMember(IsRequired=false)]
		public System.Boolean IsSpecialIssue
		{
			get	
			{	
				return m_isSpecialIssue ;
			}
			set	
			{	
				m_isSpecialIssue = value ;	
			}
		}
			
		

		/// <summary>
		/// 收发类别
		/// 领料单DTO Copy.Misc.收发类别
		/// </summary>
		private System.Int32 m_issueType ;
		[DataMember(IsRequired=false)]
		public System.Int32 IssueType
		{
			get	
			{	
				return m_issueType ;
			}
			set	
			{	
				m_issueType = value ;	
			}
		}
			
		

		/// <summary>
		/// 来源单据
		/// 领料单DTO Copy.Misc.来源单据
		/// </summary>
		private UFIDA.U9.MO.PropertyTypes.MOSourceDocData m_srcDoc ;
		[DataMember(IsRequired=false)]
		public UFIDA.U9.MO.PropertyTypes.MOSourceDocData SrcDoc
		{
			get	
			{	
				return m_srcDoc ;
			}
			set	
			{	
				m_srcDoc = value ;	
			}
		}
			
		#endregion	

		#region Multi_Fields
																														
		#endregion 
	} 	
}
